#!/usr/bin/env python 
# -*- coding:utf-8 -*-
from entity import enemies
from source import bg_size


class EntryHelp():
    #添加小型敌人战机
    @staticmethod
    def add_small_enemies(group1, num):
        for i in range(num):
            e1 = enemies.Small_enemy(bg_size)
            group1.append(e1)

    #添加中型敌人战机
    @staticmethod
    def add_mid_enemies(group1, num):
        for i in range(num):
            e1 = enemies.mid_enemy(bg_size)
            group1.append(e1)

    #添加大型敌人战机
    @staticmethod
    def add_large_enemies(group1, num):
        for i in range(num):
            e1 = enemies.large_enemy(bg_size)
            group1.append(e1)


    # 对敌机提升难度
    def add_level(enemy):
        for each in enemy:
            each.max_blood *= 1.15
            each.speed_offset += 1